# resources.py
from import_export import resources

from . import models
import logging

logger = logging.getLogger(__name__)


class JournalResource(resources.ModelResource):
    class Meta:
        model = models.Journal
        exclude = ('id', 'updated_at', 'updated_by',
                   'created_at', 'created_by')


class ProjectResource(resources.ModelResource):
    class Meta:
        model = models.Project
        exclude = ('id', 'updated_at', 'updated_by',
                   'created_at', 'created_by')
